import {
  StreamDispacher,
  StreamDispacherDataType
} from "../../flash/events/StreamDispacher";
// import { PropertyChangeEvent } from "../../mx/events/PropertyChangeEvent";
//class HandlerId
type int = number;

export class HandlerId extends StreamDispacher {
  constructor() {
    super([
      {
        key: "type",
        type: StreamDispacherDataType.Byte
      },
      {
        key: "typeEx",
        type: StreamDispacherDataType.Short
      },
      {
        key: "typeEx2",
        type: StreamDispacherDataType.Byte
      },
      {
        key: "id",
        type: StreamDispacherDataType.Int
      }
    ]);
  }
  public type!: int;
  public typeEx!: int;
  public typeEx2!: int;
  public id!: int;
}
